home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
A-B
/
Buttons,Buttons.cpt
/
Buttons, Buttons
/
card_3016.txt
< prev
next >
Wrap
Text File
|
1992-03-04
|
6KB
|
273 lines
-- card: 3016 from stack: in
-- bmap block id: 3811
-- flags: 0000
-- background id: 2690
-- name:
----- HyperTalk script -----
on opencard
send juggle to button "Juggler"
end opencard
-- part 1 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=19 top=21 right=62 bottom=59
-- title width / last selected line: 0
-- icon id / first selected line: 9210 / 9210
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
If the icon of me is 9210 then
set the icon of me to 12815
play "click"
else if the icon of me is 12815 then
set the icon of me to 9210
Play "click"
end if
end mouseUp
-- part 2 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=95 top=12 right=61 bottom=133
-- title width / last selected line: 0
-- icon id / first selected line: 25318 / 25318
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Flip Top
----- HyperTalk script -----
on mouseUp
If the icon of me is 25318 then
set the icon of me to 25319
play "click"
else if the icon of me is 25319 then
set the icon of me to 25320
play "click"
wait for 10 ticks
set the icon of me to 25319
play "click"
wait for 1 sec
set the icon of me to 25318
play "click"
end if
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=169 top=29 right=59 bottom=208
-- title width / last selected line: 0
-- icon id / first selected line: 24408 / 24408
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
If the icon of me is 24408 then
set the icon of me to 24407
play "click"
else if the icon of me is 24407 then
set the icon of me to 24408
play "click"
end if
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=137 top=13 right=60 bottom=168
-- title width / last selected line: 0
-- icon id / first selected line: 25478 / 25478
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
If the icon of me is 25478 then
set the icon of me to 25479
play "click"
else if the icon of me is 25479 then
set the icon of me to 25478
play "click"
end if
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=59 top=18 right=63 bottom=93
-- title width / last selected line: 0
-- icon id / first selected line: 31907 / 31907
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Toggle
----- HyperTalk script -----
on mouseUp
If the icon of me is 31907 then
set the icon of me to 31908
play "click"
else if the icon of me is 31908 then
set the icon of me to 31907
play "click"
end if
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=302 top=21 right=57 bottom=338
-- title width / last selected line: 0
-- icon id / first selected line: 21573 / 21573
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Juggler
----- HyperTalk script -----
on juggle
repeat for 12
If the icon of me is 21573 then
set the icon of me to 21574
set the icon of me to 21575
set the icon of me to 21576
set the icon of me to 21573
end if
end repeat
end juggle
on mouseUp
juggle
end mouseUp
-- part 8 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=212 top=14 right=63 bottom=257
-- title width / last selected line: 0
-- icon id / first selected line: 27580 / 27580
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Glass
----- HyperTalk script -----
on mouseUp
If the icon of me is 27580 then
set the icon of me to 27579
wait for 10 ticks
set the icon of me to 27578
wait for 10 ticks
set the icon of me to 27577
play "click"
else if the icon of me is 27577 then
set the icon of me to 27581
play "click"
wait for 20 ticks
set the icon of me to 27577
play "click"
wait for 10 ticks
set the icon of me to 27578
wait for 10 ticks
set the icon of me to 27579
wait for 10 ticks
set the icon of me to 27580
play "click"
end if
end mouseUp
-- part 10 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=259 top=13 right=59 bottom=298
-- title width / last selected line: 0
-- icon id / first selected line: 18904 / 18904
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Disco
----- HyperTalk script -----
on mouseUp
If the icon of me is 18904 then
play "click"
repeat until the mouse is down
set the icon of me to 18905
wait for 30 ticks
set the icon of me to 18906
wait for 30 ticks
end repeat
set the icon of me to 18904
end if
end mouseUp
-- part 11 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=391 top=15 right=57 bottom=411
-- title width / last selected line: 0
-- icon id / first selected line: 8419 / 8419
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
visual effect shrink to bottom
go to next card
end mouseUp
-- part 12 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=367 top=16 right=57 bottom=388
-- title width / last selected line: 0
-- icon id / first selected line: 8420 / 8420
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
visual effect shrink to center
go to prev card
end mouseUp